package com.boom.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.boom.mapper.ProviderMapper;
import com.boom.pojo.Provider;
import com.boom.service.ProviderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProviderServiceImpl implements ProviderService {

    @Resource
    private ProviderMapper providerMapper;

    @Override
    public List<Provider> getProvicerList(QueryWrapper<Provider> wrapper) {
        return providerMapper.selectList(wrapper);
    }
}
